home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / man / cmds.fmt / mkpasswd.man < prev    next >
Encoding:
Text File  |  1990-07-11  |  1.3 KB  |  67 lines

  1.  
  2.  
  3.  
  4. MKPASSWD                  User Commands                  MKPASSWD
  5.  
  6.  
  7.  
  8. NNAAMMEE
  9.      mkpasswd - generate hashed password table
  10.  
  11. SSYYNNOOPPSSIISS
  12.      mmkkppaasssswwdd [ --pp ] passwdfile
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _M_k_p_a_s_s_w_d is used to generated the hashed password database
  16.      used by the password library routines (see _g_e_t_p_w_e_n_t(3)).
  17.  
  18.      The file _p_a_s_s_w_d_f_i_l_e must be in password file format (see
  19.      _p_a_s_s_w_d(5)).  _M_k_p_a_s_s_w_d generates database files named
  20.      ``passwdfile.pag'' and ``passwdfile.dir'' (see _n_d_b_m(3)).
  21.      Data subsequently taken from the database files differ from
  22.      _p_a_s_s_w_d_f_i_l_e in one respect.  Rather than storing the
  23.      encrypted password in the database, _m_k_p_a_s_s_w_d stores the
  24.      offset of the encrypted password in _p_a_s_s_w_d_f_i_l_e.
  25.  
  26.      _M_k_p_a_s_s_w_d exits zero on success, non-zero on failure.
  27.  
  28.      The -_p option causes _m_k_p_a_s_s_w_d to create ``passwdfile.orig'',
  29.      a password file in the standard Version 7 format.
  30.  
  31. SSEEEE AALLSSOO
  32.      chpass(1), passwd(1), getpwent(3), ndbm(3), passwd(5),
  33.      vipw(8)
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63. Sprite v1.0             February 22, 1989                       1
  64.  
  65.  
  66.  
  67.